package yyds;

public class QueueTest {
    public static void main(String[] args) {
        MyQueue queue = new MyQueue(4);
        queue.addToQueue(20);
        queue.addToQueue(30);
        queue.addToQueue(51);
        queue.showQueue();

        int a = queue.getFromQueue();
        System.out.println(a);
        queue.oneQueue();
        queue.showQueue();
    }
}
